const koa=require('koa');

const app = new koa();

app.use(async(txt)=>{
    txt.body="<h1>hello Koa2</h1>"
})

app.listen(3000,()=>{
    console.log("3000端口启动成功了")
})